package lab02.test37;

/**
 * Created by Administrator on 2017/11/14.
 */
public class Graduate extends Student {
    @Override
    String calGrade() {

        double avg=calAverage();
        if (avg>80)
        {
            grade="通过";
        }else
        {
            grade="不通过";
        }
        return grade;
    }
}
